import request from '@/utils/request'

// 查询审批记录上传的图片列表
export function listExamineImg(query) {
  return request({
    url: '/module/examineImg/list',
    method: 'get',
    params: query
  })
}

// 查询审批记录上传的图片详细
export function getExamineImg(id) {
  return request({
    url: '/module/examineImg/' + id,
    method: 'get'
  })
}

// 新增审批记录上传的图片
export function addExamineImg(data) {
  return request({
    url: '/module/examineImg',
    method: 'post',
    data: data
  })
}

// 修改审批记录上传的图片
export function updateExamineImg(data) {
  return request({
    url: '/module/examineImg',
    method: 'put',
    data: data
  })
}

// 删除审批记录上传的图片
export function delExamineImg(id) {
  return request({
    url: '/module/examineImg/' + id,
    method: 'delete'
  })
}

// 导出审批记录上传的图片
export function exportExamineImg(query) {
  return request({
    url: '/module/examineImg/export',
    method: 'get',
    params: query
  })
}
